<!DOCTYPE html>
<html>

<head>
  <title>My first Vue app</title>
  <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>

<body>
  <div id="app">
    <label>文件名称</label>
    <input v-mode="name" placeholder="edit">
    <br>
    <label>文件内容</label>
    <textarea>{{content}}</textarea>
  </div>

  <script>
    var config = {
      template: `
      <div>
        <label>bifrost</label>
        <textarea>{{content}}</textarea>
      </div>
      `,
      props: ['content']
    }
    var app = new Vue({
      el: '#app',
      data: {
        name: 'application.properties',
        content: 'con'
      }
    })
  </script>
</body>

</html>